package cn.libinal.scloud.base.repository;

import cn.libinal.scloud.base.common.repository.BaseJpaRepository;
import cn.libinal.scloud.base.entity.Client;

/**
 * @author libin
 */
public interface ClientRepository extends BaseJpaRepository<Client, String> {
    /**
     * 根据ClientId获取凭证
     * @param clientId ClientId
     * @return Client
     */
    Client findByClientId(String clientId);
}
